package cn.tedu.car.backend.customer.dao.repository.impl;

import cn.tedu.car.backend.customer.dao.mapper.CustomerInfoMapper;
import cn.tedu.car.backend.customer.dao.repository.CustomerInfoRepository;
import cn.tedu.car.backend.customer.pojo.entity.CustomerInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @author LLY
 */
@Slf4j
@Repository
public class CustomerInfoRepositoryImpl implements CustomerInfoRepository {
    @Autowired
    private CustomerInfoMapper customerInfoMapper;

    @Override
    public int insert(CustomerInfo customerInfo) {
        return customerInfoMapper.insert(customerInfo);
    }
}
